<%@ page language="java" isELIgnored="false" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>用户意见反馈</title>
<link href="<%=request.getContextPath() %>/fare/css/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=request.getContextPath() %>/fare/js/show.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/fare/js/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/fare/js/datePicker/WdatePicker.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/jsFile/validate/happy.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/jsFile/validate/happy.methods.js"></script>

<script>

function showm(sid){

var which = document.getElementById("lite" + sid);
var imgmenu = document.getElementById("ling" + sid);
	if (which.style.display == "none"){
		document.getElementById("lite" + sid).style.display="";
	}
	else{
		document.getElementById("lite" + sid).style.display="none";
		}

}


$(document).ready(function () {
	$('#feedback').isHappy({
		fields:{
			'#input-title':{
				required:true,
				message:'标题不能为空'
			},
			'#input-content':{
				required:true,
				message:'内容不能为空'
			}
		},
		unHappy:function(){
			alert('提交失败,标题或内容不能为空');
		}
	});
});
</script>
<style type="text/css">
	.replyMargin{margin-left:50%}
	.replyList{margin-left:20%;width:50%;height:auto;min-height:80px;background-color:#989898}
<!--
.STYLE1 {
	color: #990000;
	font-weight: bold;
}
-->
</style>
</head>

<body>
<form id="feedback" action="feedbackAction!toFeedbackJSP.action" method="post">
	<TABLE cellSpacing=1 cellPadding=3 width="100%" border=0 class="tabg">
	  <TBODY>
	  <TR class="tr1">
	    <TD colspan="2">用户意见反馈 </TD>
	    </TR>
	  	<tr class="tab">
	  		<td style="width:10%;text-align:left;" class="td1">用户:</td>
	  		<td><span id="username">张三</span></td>
	  	</tr>
	  	<tr class="tab">
	  		<td style="text-align:left;" id="input-title" class="td1">标题:</td>
		  	<td><input type="text" style="width:500px" id="text1" value="">
		  		<span style="color:#FF0000">*</span></td>
	  	</tr>
	  	<tr class="tab">
	  		<td style="text-align:left;" id="input-content" class="td1">内容:</td>
	  		<td><textarea rows="5" id="content" style="width:500px;resize:none;"></textarea>
	  			<span style="color:#FF0000">*</span></td>
	  	</tr>
	  <TR class="tab">
	    <TD height="26" colspan="2" >
	      <p style="text-align:center">
		      <input type="button" value="提交" id="submit" style="width:80px;">
		      <input type="button"  value="取消" id="Submit2" style="width:80px;">
	      </p>
	    </TD>
	  </TR>
	</TBODY>
	</TABLE>
</form>

<p></p>
<TABLE cellSpacing=1 cellPadding=3 width="100%" border=0 class="tabg">
  <TBODY>
  <TR class="tr1">
    <TD colspan="3">用户意见反馈列表</TD>
    </TR>
    <tr height="26" class="tr2">
    	<td width="80%" align="left">
    		<span id="title1">[这里是标题] 作者: 张三 发表时间: 2012-12-12</span>
    	</td>
    	<td width="10%"><input id="replyoredit" type="button" value="回复" style="width:40px"></td>
    	<td><input type="button" value="删除" style="width:40px"></td>
    </tr>
    <tr height="26" class="tr3">
    	<td colspan="3" align="left"><span>这里是内容</span></td>
    </tr>
    <div id="reply1">
	    <tr height="26" class="tr2">
		    <td width="80%" align="left">
		    	<span id="title2">[这里是标题] 作者: 李四 发表时间: 2012-12-12</span>
		    </td>
		    <td width="10%"><input type="button" value="编辑" style="width:40px"></td>
		    <td><input type="button" value="删除" style="width:40px"></td>
	    </tr>
	    <tr height="26" class="tr3">
	    	<td colspan="3" align="left"><span style="color:#FF0000">这里是内容，<br/>回复的内容，<br/>字体颜色待定。</span></td>
	    </tr>
	</div>
    <tr class="tr2" onMouseOver="fSetBg(this)" onMouseOut="fReBg(this)">
	    <td colspan="8" align="right">
	      <span>共计100条记录&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;每页显示</span>
	      <select>
	        <option>10</option>
	      </select>
	      <span>&nbsp;&nbsp;跳转到第</span>
	      <select>
	        <option>10</option>
	      </select>
	      <span>页</span>
	    </td>
  	</tr>
</TBODY>
</TABLE>

</body>
</html>

